#ifndef VERTEX_TREE_ITEM_H
#define VERTEX_TREE_ITEM_H

#include "src/vertex.h"
#include "treeItem.h"
#include <QMainWindow>

class VertexTreeItem : public TreeItem {
    public:
        VertexTreeItem(QTreeWidgetItem * = 0, Vertex * = 0);
        ~VertexTreeItem();

        unsigned int getType(){return VERTEX;};

        Vertex *getVertex();

        void select(bool);

    private:
        Vertex *vertex;
};

#endif

